package java44th.group.bean.admin.vo.stat.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ProjectName project-second
 * @Descriptiom TODO
 * @Aurhor: 蔡文强
 * @Since: 2022/10/13 11:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderVo {
    /**
     * columns : ["day","orders","customers","amount","pcr"]
     * rows : [{"amount":87,"orders":1,"customers":1,"day":"2022-01-06","pcr":87},{"amount":335,"orders":2,"customers":1,"day":"2022-01-07","pcr":335},{"amount":228,"orders":2,"customers":1,"day":"2022-09-08","pcr":228},{"amount":29876,"orders":17,"customers":6,"day":"2022-09-09","pcr":4979.33},{"amount":70279,"orders":41,"customers":9,"day":"2022-09-10","pcr":7808.78},{"amount":4438,"orders":14,"customers":5,"day":"2022-09-11","pcr":887.6},{"amount":82783.5,"orders":13,"customers":3,"day":"2022-09-12","pcr":27594.5},{"amount":5686,"orders":9,"customers":2,"day":"2022-09-13","pcr":2843}]
     */
    private List<String> columns;
    private List<RowsEntity> rows;

}
